home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / frbts_20.zip / GLOBALS.H < prev    next >
C/C++ Source or Header  |  1991-04-27  |  2KB  |  76 lines

  1. /****************************************************************************/
  2. /*                                                                          */
  3. /*       Globals.h      Global variables for Frobot program                 */
  4. /*                                                                          */
  5. /****************************************************************************/
  6.  
  7. #ifdef FROBOT_MAIN
  8. #define GLOBAL 
  9. #else 
  10. #define GLOBAL extern
  11. #endif
  12.  
  13.  
  14. /* Global variables */
  15.  
  16. GLOBAL   char temp[100];
  17. GLOBAL   char temp1[100];
  18. GLOBAL   char temp2[100];
  19. GLOBAL   char Outbdir[65];
  20. GLOBAL   char Inbdir[65];
  21. GLOBAL   char Netmdir[65];
  22. GLOBAL   char ScriptFile[65];
  23. GLOBAL   char LogFile[65];
  24. GLOBAL   char hdir[_MAX_DIR];
  25. GLOBAL   char hdrive[_MAX_DRIVE];
  26. GLOBAL   char DestFile[67];
  27. GLOBAL   char FloFile[65];
  28. GLOBAL   char ReqFile[65];
  29. GLOBAL   char password[15];
  30. GLOBAL   char datestr[27];
  31.  
  32. GLOBAL   char FidoMsgSend[_MAX_DIR];
  33. GLOBAL   char FidoMsgReq[_MAX_DIR];
  34. GLOBAL   char FidoMsgNote[_MAX_DIR];
  35.  
  36. GLOBAL   char  ShowActivity;
  37. GLOBAL   char  SelfMail;
  38. GLOBAL   char  SysopMail;
  39. GLOBAL   char  Silent;
  40. GLOBAL   char  FidoNetMode;
  41.  
  42. GLOBAL   int   ExitCode;
  43.  
  44. GLOBAL   unsigned int Zone;
  45. GLOBAL   unsigned int Node;
  46. GLOBAL   unsigned int Net;
  47. GLOBAL   unsigned int DestZone;
  48. GLOBAL   unsigned int DestNode;
  49. GLOBAL   unsigned int DestNet;
  50.  
  51. GLOBAL   unsigned int FileCount;
  52. GLOBAL   unsigned int XferTries;
  53. GLOBAL   unsigned int linenum;
  54. GLOBAL   unsigned int FileReqs;
  55. GLOBAL   unsigned int FileSends;
  56.  
  57. GLOBAL   struct tm *ltime;
  58. GLOBAL   time_t now;
  59.  
  60. GLOBAL   struct stat fbuf;
  61.  
  62.  
  63.  
  64. #ifdef FROBOT_MAIN
  65. /*  Set up some defaults */
  66.  
  67. char ShowActivity = FALSE;
  68. char SelfMail = FALSE;
  69. char SysopMail = FALSE;
  70. char  Silent = FALSE;
  71. unsigned Net = 0;
  72. unsigned Node = 0;
  73.  
  74. #endif
  75.  
  76.